package com.wish.blessingroad.controller;


import com.wish.blessingroad.service.IOrdersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;

/**
 * <p>
 * 订单控制器
 * </p>
 *
 * @author dhc
 * @since 2019-02-18
 */
@Controller
@RequestMapping("/blessingroad/orders")
public class OrdersController {
    @Autowired
    private IOrdersService ordersServiceImpl;
    /**
     * 订单生成
     */

    /**
     * 充值，写交易记录
     */

    /**
     * 充值回调，变更订单状态
     */
    @RequestMapping("/updateOrder")
    public void updateOrder() {
        //查出订单对应id

        //修改订单状态

        //以钱数添加到排行榜redis
        //先查有没有此人，再追加值

    }

}

